import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import * as ELIcons from '@element-plus/icons-vue'
import { ElMessage } from 'element-plus'
import axios from 'axios'

axios.defaults.withCredentials=true;

const app = createApp(App).use(store).use(router).use(ElementPlus)

for (let iconName in ELIcons) {
    app.component(iconName, ELIcons[iconName])
}
app.mount('#app')

